﻿using stirling_chillers.Models;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace stirling_chillers.Data
{
    /// <summary>
    /// 用户数据访问接口
    /// </summary>
    public interface IUserRepository
    {
        /// <summary>
        /// 根据用户名查询用户
        /// </summary>
        /// <param name="username">用户名</param>
        /// <returns>用户信息</returns>
        Task<UserModel> GetUserByUsernameAsync(string username);
    }
}
